package com.qfedu.yuxiaoer.entity;

import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;

public class SourceResources implements Serializable {
    @ApiModelProperty(value = "房源id")
    private Integer id;

    @ApiModelProperty(value = "来源id")
    private String sourceId;

    @ApiModelProperty(value = "业主id;业主id")
    private Integer ownerId;

    @ApiModelProperty(value = "类型;类型")
    private String type;

    @ApiModelProperty(value = "户型;户型")
    private String house;

    @ApiModelProperty(value = "房源状态;房源状态")
    private String state;

    @ApiModelProperty(value = "面积;面积")
    private Integer area;

    @ApiModelProperty(value = "托管年限")
    private Date pustodyperiod;

    @ApiModelProperty(value = "价格;价格")
    private String price;

    @ApiModelProperty(value = "地址;地址")
    private String address;

    @ApiModelProperty(value = "附件照片;附件照片")
    private String attachment;

    @ApiModelProperty(value = "备注;备注")
    private String remarks;

    private Source source;

    public Source getSource() {
        return source;
    }

    public void setSource(Source source) {
        this.source = source;
    }

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getSourceId() {
        return sourceId;
    }

    public void setSourceId(String sourceId) {
        this.sourceId = sourceId;
    }

    public Integer getOwnerId() {
        return ownerId;
    }

    public void setOwnerId(Integer ownerId) {
        this.ownerId = ownerId;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getHouse() {
        return house;
    }

    public void setHouse(String house) {
        this.house = house;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public Integer getArea() {
        return area;
    }

    public void setArea(Integer area) {
        this.area = area;
    }

    public Date getPustodyperiod() {
        return pustodyperiod;
    }

    public void setPustodyperiod(Date pustodyperiod) {
        this.pustodyperiod = pustodyperiod;
    }

    public String getPrice() {
        return price;
    }

    public void setPrice(String price) {
        this.price = price;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getAttachment() {
        return attachment;
    }

    public void setAttachment(String attachment) {
        this.attachment = attachment;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", sourceId=").append(sourceId);
        sb.append(", ownerId=").append(ownerId);
        sb.append(", type=").append(type);
        sb.append(", house=").append(house);
        sb.append(", state=").append(state);
        sb.append(", area=").append(area);
        sb.append(", pustodyperiod=").append(pustodyperiod);
        sb.append(", price=").append(price);
        sb.append(", address=").append(address);
        sb.append(", attachment=").append(attachment);
        sb.append(", remarks=").append(remarks);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}